package com.pattern.decorator.case01;

public class FoodDecorator implements Cinema {

    private final Cinema cinema;

    public FoodDecorator(Cinema cinema){
        this.cinema = cinema;
    }

    @Override
    public void watch() {
        this.eat();
        cinema.watch();
    }

    public void eat(){
        System.out.println("买了爆米花...");
    }
}
